package com.liming.common.pojo.vo.authinfo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.List;

/**
 * @author liming
 * @date 2025/2/16
 */
@Data
@Schema(description = "权限VO")
public class PermissionVO implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "权限ID")
    private Long id;

    @Schema(description = "权限名称")
    private String name;

    @Schema(description = "权限描述")
    private String description;

    @Schema(description = "使用该权限的角色")
    private List<RoleVO> usePermissionRoles;
}
